package org.zzh.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zzh.domain.cargo.contractProduct.CoContractProduct;

import java.util.List;

@Mapper
public interface CoContractProductMapper {

    List<CoContractProduct> list( @Param("contractId") String contractId);

    void deleteByContractIds(@Param("contactIds") String[] contractIds);

    CoContractProduct findById(@Param("id") String id);

    void update(CoContractProduct contractProduct);

    void add(CoContractProduct contractProduct);

    void deleteByContractId(@Param("contractId") String contractId);

    void deleteById(@Param("id") String id);
}
